package c.j.a.d.b.j;

import c.j.a.d.b.e.k;
import c.j.a.d.b.i.l;

/* compiled from: DefaultChunkAdjustCalculator */
public class f implements k {
    public int a(int i, l lVar) {
        if (lVar.ordinal() <= 1) {
            return 1;
        }
        return lVar == l.GOOD ? i - 1 : i;
    }
}
